//
//  FitPhotos.m
//  PerfectWorld
//
//  Created by dllo on 16/9/1.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "FitPhotos.h"
#import "FitUser.h"
@implementation FitPhotos

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"user"]) {
        _user = [FitUser modelWithDic:value];
    }
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"P_description"]) {
        _P_description = value;
    }
    if ([key isEqualToString:@"id"]) {
        _photo_id = value;
    }
   }
@end
